/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ed.model;

import java.sql.Date;

/**
 *
 * @author flore_tchouanguem
 */
public class Document {
    /*INSERT INTO `document`(`idDocument`, `nomDocument`, `auteurDocument`, `tailleDocument`, 
    `listeMotClesDocument`, `dateCreation`, `catDocument`, `lienDeTelechargement`, 
    `noteDocument`, `nombreVotantDocument`) 
    */
    private int idDocument;
    private String nomDocument;
    private String auteurDocument;
    private  float tailleDocument;
    private String listeMotClesDocument;
    private Date dateCreation;
    private String catDocument;
    private String lienDeTelechargement;
    private float noteDocument;
    private int nombreVotantDocument;

    public Document(String nomDocument, String auteurDocument, float tailleDocument, String listeMotClesDocument, Date dateCreation, String catDocument, String lienDeTelechargement, float noteDocument, int nombreVotantDocument) {
        this.nomDocument = nomDocument;
        this.auteurDocument = auteurDocument;
        this.tailleDocument = tailleDocument;
        this.listeMotClesDocument = listeMotClesDocument;
        this.dateCreation = dateCreation;
        this.catDocument = catDocument;
        this.lienDeTelechargement = lienDeTelechargement;
        this.noteDocument = noteDocument;
        this.nombreVotantDocument = nombreVotantDocument;
    }

    public int getIdDocument() {
        return idDocument;
    }

    public void setIdDocument(int idDocument) {
        this.idDocument = idDocument;
    }

    public String getNomDocument() {
        return nomDocument;
    }

    public void setNomDocument(String nomDocument) {
        this.nomDocument = nomDocument;
    }

    public String getAuteurDocument() {
        return auteurDocument;
    }

    public void setAuteurDocument(String auteurDocument) {
        this.auteurDocument = auteurDocument;
    }

    public float getTailleDocument() {
        return tailleDocument;
    }

    public void setTailleDocument(float tailleDocument) {
        this.tailleDocument = tailleDocument;
    }

    public String getListeMotClesDocument() {
        return listeMotClesDocument;
    }

    public void setListeMotClesDocument(String listeMotClesDocument) {
        this.listeMotClesDocument = listeMotClesDocument;
    }

    public Date getDateCreation() {
        return dateCreation;
    }

    public void setDateCreation(Date dateCreation) {
        this.dateCreation = dateCreation;
    }

    public String getCatDocument() {
        return catDocument;
    }

    public void setCatDocument(String catDocument) {
        this.catDocument = catDocument;
    }

    public String getLienDeTelechargement() {
        return lienDeTelechargement;
    }

    public void setLienDeTelechargement(String lienDeTelechargement) {
        this.lienDeTelechargement = lienDeTelechargement;
    }

    public float getNoteDocument() {
        return noteDocument;
    }

    public void setNoteDocument(float noteDocument) {
        this.noteDocument = noteDocument;
    }

    public int getNombreVotantDocument() {
        return nombreVotantDocument;
    }

    public void setNombreVotantDocument(int nombreVotantDocument) {
        this.nombreVotantDocument = nombreVotantDocument;
    }
    
}
